feat: 支持灵动岛宽度设置#171
Open
Makia9879 wants to merge 1 commit into
Open
Conversation
5d7124c to
eb0cc90
Compare
|
确实,mbam4上调整这个宽度愣是没变化,我还以为是我理解错了 |
nguyenvanduocit
added a commit
to nguyenvanduocit/CodeIsland
that referenced
this pull request
May 13, 2026
…021 extended to real notch - Add T-056: panel jumping between physical monitors in dual-screen setup (issue wxtsky#176, no upstream fix yet) - Update T-021 criteria to incorporate PR wxtsky#171 real-notch width scaling when it merges - Note PR wxtsky#171 (open) watching status, issue wxtsky#170 as T-053 symptom, skip Codex/OpenCode commits https://claude.ai/code/session_01Gpa3DQ7HD9BXYsayCfbb8F
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更说明
新增真实刘海屏上的 Dynamic Island 宽度调整支持。
背景
原实现中
collapsedWidthScale主要用于非刘海屏:因此:
本次变更在保留原有非刘海屏行为的基础上,将“Island Width / 灵动岛宽度”扩展为通用设置,使真实刘海屏上的收起态宽度也可以
跟随用户配置变化。
同时,紧凑态和空闲态中部分占位原本使用原始 notchW。为支持真实刘海屏宽度调整,这些内部占位也同步改为使用缩放后的有效宽
度。
新增能力
验证
验证结果:
NotchPanelViewTests: 17 tests, 0 failures
CodeIsland.app: x86_64 arm64
codeisland-bridge: x86_64 arm64